package com.wy.service.impl;

import com.wy.dao.InterfaceLogDao;
import com.wy.model.InterfaceLog;
import com.wy.service.InterfaceLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @描述
* @创建人 wangyue
* @创建时间2019/12/216:28
*/
@Service
public class InterfaceLogServiceImpl implements InterfaceLogService{

@Autowired
private InterfaceLogDao interfaceLogDao;

@Override
public List<InterfaceLog> list(InterfaceLog interfaceLog) {
    return interfaceLogDao.list(interfaceLog);
    }

    @Override
    public InterfaceLog getById(String id) {
    return interfaceLogDao.getById(id);
    }

    @Override
    public void insert(InterfaceLog interfaceLog) {
    interfaceLogDao.insert(interfaceLog);
    }

    @Override
    public void update(InterfaceLog interfaceLog) {
    interfaceLogDao.update(interfaceLog);
    }

    @Override
    public int deletebth(String[] id) {
    return interfaceLogDao.deletebth(id);
    }
    }
